<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:84:"/www/wwwroot/crm.liunuo.net/public/../application/user/view/index/index_mobile.phtml";i:1552999927;s:67:"/www/wwwroot/crm.liunuo.net/application/user/view/base_mobile.phtml";i:1552999924;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title><?php echo config('website.site_name')?></title>
<link rel="stylesheet" type="text/css" href="/static/hui/css/hui.css" />
<style>.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}</style>

<link rel="stylesheet" href="/static/css/fonts.css">
<link href="/static/user/css/mobile_index.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
	.bgGreen{color:#1BC5BB !important;}
	.bgRed{background:#EE4B47 !important;}
	.demo{width:100%; height:80px; text-align:center; color:#FFF; line-height:80px; font-size:22px; margin:5px; background:#3388FF;}

	</style>

</head>
<body>

<header class="hui-header">
    <div id="hui-back"></div>
    <h1>功能列表</h1>
    <div id="hui-header-menu" onclick="hui.showSlideMenu();"></div>
</header>
<div class="list-wrap">
    <div class="aui-health-head" style="margin-top:40px;">
        <div class="aui-flex" style="margin-top:20px;">
            <div class="aui-flex-box">
                <h1><?php echo $shop['shopname']; ?>（<?php echo $user['realname']; ?>）</h1>
                <h3><?php echo $shop['exp_time']; ?></h3>
            </div>
        </div>
        <div class="aui-palace  aui-palace-text">
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><?php echo $data['all_customer']; ?></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的客户</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><?php echo $data['all_track']; ?></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的回访</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><?php echo $data['remind_no']; ?></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的提醒</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><?php echo $data['all_order']; ?></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的订单</h2>
                </div>
            </a>
        </div>
    </div>
    <div class="aui-health-box aui-health-box-top">
        <div class="aui-palace ">
            <a href="javascript:hui.open('/user/customer/add');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-danger-txt fa fa-plus-circle"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>新增客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('<?php echo url('user/customer/index',['screen' => 'star']); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-primary-txt fa fa-star"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>星级客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('<?php echo url('user/customer/remind', ['type' => 1]); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="fa fa-bell"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>今日待处理</h2>
                </div>
            </a>
            <a href="javascript:hui.open('<?php echo url('user/index/info'); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-success-txt fa fa-user"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>个人信息</h2>
                </div>
            </a>
            
        </div>
    </div>
    
    <div class="aui-health-box">
        <div class="aui-palace ">
            <a href="javascript:hui.open('<?php echo url('user/customer/index',['screen' => 'today_add']); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-danger-txt fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>今日新增客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('<?php echo url('user/customer/index',['screen' => 'today_track']); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-primary-txt fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>今日跟进客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('<?php echo url('user/customer/index',['screen' => '30day_notrack']); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>30天未跟进</h2>
                </div>
            </a>
            <a href="javascript:hui.open('<?php echo url('user/customer/index',['screen' => 'notrack']); ?>');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-success-txt fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>从未跟进</h2>
                </div>
            </a>
            
        </div>
    </div>
    
    <div class="aui-health-box">
        <?php if(is_array($navbar) || $navbar instanceof \think\Collection || $navbar instanceof \think\Paginator): if( count($navbar)==0 ) : echo "" ;else: foreach($navbar as $key=>$v): if($v['id']=='4'): if(is_array($v['children']) || $v['children'] instanceof \think\Collection || $v['children'] instanceof \think\Paginator): if( count($v['children'])==0 ) : echo "" ;else: foreach($v['children'] as $key=>$n1): ?>
        <a href="javascript:hui.open('<?php echo \think\Request::instance()->root(true); ?>/<?php echo $n1['url']; ?>');" class="aui-flex b-line">
            <div class="aui-cou-img">
                <i class="<?php echo $n1['icon']; ?>"></i>
            </div>
            <div class="aui-flex-box">
                <p><?php echo $n1['name']; ?></p>
            </div>
            <div class="aui-ren-arrow">
                <span></span>
            </div>
        </a>
        <?php endforeach; endif; else: echo "" ;endif; endif; endforeach; endif; else: echo "" ;endif; ?>
    </div>
 
<br><br><br>

<div class="hui-slide-menu">
    <ul>
        <?php if(is_array($navbar) || $navbar instanceof \think\Collection || $navbar instanceof \think\Paginator): if( count($navbar)==0 ) : echo "" ;else: foreach($navbar as $key=>$v): if($v['id']=='1'): if(is_array($v['children']) || $v['children'] instanceof \think\Collection || $v['children'] instanceof \think\Paginator): if( count($v['children'])==0 ) : echo "" ;else: foreach($v['children'] as $key=>$n1): ?>
                    <li><a href="javascript:hui.open('<?php echo \think\Request::instance()->root(true); ?>/<?php echo $n1['url']; ?>');"><?php echo $n1['name']; ?></a></li>
                <?php endforeach; endif; else: echo "" ;endif; endif; endforeach; endif; else: echo "" ;endif; ?>
        <li><a href="javascript:hui.open('<?php echo url('user/index/logout'); ?>');">退出账户</a></li>
        <li style="padding-top:30px;">
            <button type="button" class="hui-button hui-button-large" onclick="hui.closeSlideMenu();">关闭菜单</button>
        </li>
    </ul>
</div>
<div id="hui-footer">
    <a href="javascript:hui.open('/user/');" id="nav-home">
        <div class="hui-footer-icons hui-icons-home"></div>
        <div class="hui-footer-text">首页</div>
    </a>
    <a href="javascript:hui.open('/user/customer/track');" id="nav-news">
        <div class="hui-footer-icons hui-icons-news"></div>
        <div class="hui-footer-text">跟踪</div>
    </a>
    <div style="width:20%; text-align:center;" class="hui-fl">
        <img src="/static/hui/img/logo_footer.png" height="44" onclick="hui.open('/user/customer/');" />
    </div>
    <a href="javascript:hui.open('/user/customer/remind');" id="nav-forum">
        <div class="hui-footer-icons hui-icons-forum"></div>
        <div class="hui-footer-text">提醒</div>
    </a>
    <a href="javascript:hui.showSlideMenu();" id="nav-my" id="hui-header-menu" onclick="hui.showSlideMenu();">
        <div class="hui-footer-icons hui-icons-my"></div>
        <div class="hui-footer-text">我的</div>
    </a>
</div>
<script src="/static/hui/js/hui.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
hui.slideMenu();
//hui('#nav-my').pointMsg();
//hui('#nav-news').pointMsg('hot', null, null, null, '1px');
<?php $remind_sum= today_remind_sum();?>
hui('#nav-forum').pointMsg(<?php echo $remind_sum['count']; ?>);
</script>
<script src="/static/libs/layui/layui.all.js"></script>
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/layui.base_mobile.js"></script>

</body>
</html>